package com.zheng.business.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BusinessOrderUmbrellaConsumptionExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public BusinessOrderUmbrellaConsumptionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrdernoIsNull() {
            addCriterion("OrderNo is null");
            return (Criteria) this;
        }

        public Criteria andOrdernoIsNotNull() {
            addCriterion("OrderNo is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernoEqualTo(String value) {
            addCriterion("OrderNo =", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoNotEqualTo(String value) {
            addCriterion("OrderNo <>", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoGreaterThan(String value) {
            addCriterion("OrderNo >", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoGreaterThanOrEqualTo(String value) {
            addCriterion("OrderNo >=", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoLessThan(String value) {
            addCriterion("OrderNo <", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoLessThanOrEqualTo(String value) {
            addCriterion("OrderNo <=", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoLike(String value) {
            addCriterion("OrderNo like", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoNotLike(String value) {
            addCriterion("OrderNo not like", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoIn(List<String> values) {
            addCriterion("OrderNo in", values, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoNotIn(List<String> values) {
            addCriterion("OrderNo not in", values, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoBetween(String value1, String value2) {
            addCriterion("OrderNo between", value1, value2, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoNotBetween(String value1, String value2) {
            addCriterion("OrderNo not between", value1, value2, "orderno");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNull() {
            addCriterion("AgentId is null");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNotNull() {
            addCriterion("AgentId is not null");
            return (Criteria) this;
        }

        public Criteria andAgentidEqualTo(Integer value) {
            addCriterion("AgentId =", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotEqualTo(Integer value) {
            addCriterion("AgentId <>", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThan(Integer value) {
            addCriterion("AgentId >", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThanOrEqualTo(Integer value) {
            addCriterion("AgentId >=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThan(Integer value) {
            addCriterion("AgentId <", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThanOrEqualTo(Integer value) {
            addCriterion("AgentId <=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidIn(List<Integer> values) {
            addCriterion("AgentId in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotIn(List<Integer> values) {
            addCriterion("AgentId not in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidBetween(Integer value1, Integer value2) {
            addCriterion("AgentId between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotBetween(Integer value1, Integer value2) {
            addCriterion("AgentId not between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNull() {
            addCriterion("NickName is null");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNotNull() {
            addCriterion("NickName is not null");
            return (Criteria) this;
        }

        public Criteria andNicknameEqualTo(String value) {
            addCriterion("NickName =", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotEqualTo(String value) {
            addCriterion("NickName <>", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThan(String value) {
            addCriterion("NickName >", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThanOrEqualTo(String value) {
            addCriterion("NickName >=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThan(String value) {
            addCriterion("NickName <", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThanOrEqualTo(String value) {
            addCriterion("NickName <=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLike(String value) {
            addCriterion("NickName like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotLike(String value) {
            addCriterion("NickName not like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameIn(List<String> values) {
            addCriterion("NickName in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotIn(List<String> values) {
            addCriterion("NickName not in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameBetween(String value1, String value2) {
            addCriterion("NickName between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotBetween(String value1, String value2) {
            addCriterion("NickName not between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeIsNull() {
            addCriterion("umbrella_code is null");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeIsNotNull() {
            addCriterion("umbrella_code is not null");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeEqualTo(String value) {
            addCriterion("umbrella_code =", value, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeNotEqualTo(String value) {
            addCriterion("umbrella_code <>", value, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeGreaterThan(String value) {
            addCriterion("umbrella_code >", value, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeGreaterThanOrEqualTo(String value) {
            addCriterion("umbrella_code >=", value, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeLessThan(String value) {
            addCriterion("umbrella_code <", value, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeLessThanOrEqualTo(String value) {
            addCriterion("umbrella_code <=", value, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeLike(String value) {
            addCriterion("umbrella_code like", value, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeNotLike(String value) {
            addCriterion("umbrella_code not like", value, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeIn(List<String> values) {
            addCriterion("umbrella_code in", values, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeNotIn(List<String> values) {
            addCriterion("umbrella_code not in", values, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeBetween(String value1, String value2) {
            addCriterion("umbrella_code between", value1, value2, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andUmbrellaCodeNotBetween(String value1, String value2) {
            addCriterion("umbrella_code not between", value1, value2, "umbrellaCode");
            return (Criteria) this;
        }

        public Criteria andChipNumberIsNull() {
            addCriterion("chip_number is null");
            return (Criteria) this;
        }

        public Criteria andChipNumberIsNotNull() {
            addCriterion("chip_number is not null");
            return (Criteria) this;
        }

        public Criteria andChipNumberEqualTo(String value) {
            addCriterion("chip_number =", value, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberNotEqualTo(String value) {
            addCriterion("chip_number <>", value, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberGreaterThan(String value) {
            addCriterion("chip_number >", value, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberGreaterThanOrEqualTo(String value) {
            addCriterion("chip_number >=", value, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberLessThan(String value) {
            addCriterion("chip_number <", value, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberLessThanOrEqualTo(String value) {
            addCriterion("chip_number <=", value, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberLike(String value) {
            addCriterion("chip_number like", value, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberNotLike(String value) {
            addCriterion("chip_number not like", value, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberIn(List<String> values) {
            addCriterion("chip_number in", values, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberNotIn(List<String> values) {
            addCriterion("chip_number not in", values, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberBetween(String value1, String value2) {
            addCriterion("chip_number between", value1, value2, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andChipNumberNotBetween(String value1, String value2) {
            addCriterion("chip_number not between", value1, value2, "chipNumber");
            return (Criteria) this;
        }

        public Criteria andCostpriceIsNull() {
            addCriterion("CostPrice is null");
            return (Criteria) this;
        }

        public Criteria andCostpriceIsNotNull() {
            addCriterion("CostPrice is not null");
            return (Criteria) this;
        }

        public Criteria andCostpriceEqualTo(BigDecimal value) {
            addCriterion("CostPrice =", value, "costprice");
            return (Criteria) this;
        }

        public Criteria andCostpriceNotEqualTo(BigDecimal value) {
            addCriterion("CostPrice <>", value, "costprice");
            return (Criteria) this;
        }

        public Criteria andCostpriceGreaterThan(BigDecimal value) {
            addCriterion("CostPrice >", value, "costprice");
            return (Criteria) this;
        }

        public Criteria andCostpriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("CostPrice >=", value, "costprice");
            return (Criteria) this;
        }

        public Criteria andCostpriceLessThan(BigDecimal value) {
            addCriterion("CostPrice <", value, "costprice");
            return (Criteria) this;
        }

        public Criteria andCostpriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("CostPrice <=", value, "costprice");
            return (Criteria) this;
        }

        public Criteria andCostpriceIn(List<BigDecimal> values) {
            addCriterion("CostPrice in", values, "costprice");
            return (Criteria) this;
        }

        public Criteria andCostpriceNotIn(List<BigDecimal> values) {
            addCriterion("CostPrice not in", values, "costprice");
            return (Criteria) this;
        }

        public Criteria andCostpriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CostPrice between", value1, value2, "costprice");
            return (Criteria) this;
        }

        public Criteria andCostpriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CostPrice not between", value1, value2, "costprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceIsNull() {
            addCriterion("MarketPrice is null");
            return (Criteria) this;
        }

        public Criteria andMarketpriceIsNotNull() {
            addCriterion("MarketPrice is not null");
            return (Criteria) this;
        }

        public Criteria andMarketpriceEqualTo(BigDecimal value) {
            addCriterion("MarketPrice =", value, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceNotEqualTo(BigDecimal value) {
            addCriterion("MarketPrice <>", value, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceGreaterThan(BigDecimal value) {
            addCriterion("MarketPrice >", value, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MarketPrice >=", value, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceLessThan(BigDecimal value) {
            addCriterion("MarketPrice <", value, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MarketPrice <=", value, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceIn(List<BigDecimal> values) {
            addCriterion("MarketPrice in", values, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceNotIn(List<BigDecimal> values) {
            addCriterion("MarketPrice not in", values, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MarketPrice between", value1, value2, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMarketpriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MarketPrice not between", value1, value2, "marketprice");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNull() {
            addCriterion("machine_id is null");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNotNull() {
            addCriterion("machine_id is not null");
            return (Criteria) this;
        }

        public Criteria andMachineIdEqualTo(String value) {
            addCriterion("machine_id =", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotEqualTo(String value) {
            addCriterion("machine_id <>", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThan(String value) {
            addCriterion("machine_id >", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThanOrEqualTo(String value) {
            addCriterion("machine_id >=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThan(String value) {
            addCriterion("machine_id <", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThanOrEqualTo(String value) {
            addCriterion("machine_id <=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLike(String value) {
            addCriterion("machine_id like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotLike(String value) {
            addCriterion("machine_id not like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdIn(List<String> values) {
            addCriterion("machine_id in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotIn(List<String> values) {
            addCriterion("machine_id not in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdBetween(String value1, String value2) {
            addCriterion("machine_id between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotBetween(String value1, String value2) {
            addCriterion("machine_id not between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andRentAdressIsNull() {
            addCriterion("rent_adress is null");
            return (Criteria) this;
        }

        public Criteria andRentAdressIsNotNull() {
            addCriterion("rent_adress is not null");
            return (Criteria) this;
        }

        public Criteria andRentAdressEqualTo(String value) {
            addCriterion("rent_adress =", value, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressNotEqualTo(String value) {
            addCriterion("rent_adress <>", value, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressGreaterThan(String value) {
            addCriterion("rent_adress >", value, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressGreaterThanOrEqualTo(String value) {
            addCriterion("rent_adress >=", value, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressLessThan(String value) {
            addCriterion("rent_adress <", value, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressLessThanOrEqualTo(String value) {
            addCriterion("rent_adress <=", value, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressLike(String value) {
            addCriterion("rent_adress like", value, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressNotLike(String value) {
            addCriterion("rent_adress not like", value, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressIn(List<String> values) {
            addCriterion("rent_adress in", values, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressNotIn(List<String> values) {
            addCriterion("rent_adress not in", values, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressBetween(String value1, String value2) {
            addCriterion("rent_adress between", value1, value2, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andRentAdressNotBetween(String value1, String value2) {
            addCriterion("rent_adress not between", value1, value2, "rentAdress");
            return (Criteria) this;
        }

        public Criteria andPathCodeIsNull() {
            addCriterion("path_code is null");
            return (Criteria) this;
        }

        public Criteria andPathCodeIsNotNull() {
            addCriterion("path_code is not null");
            return (Criteria) this;
        }

        public Criteria andPathCodeEqualTo(String value) {
            addCriterion("path_code =", value, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeNotEqualTo(String value) {
            addCriterion("path_code <>", value, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeGreaterThan(String value) {
            addCriterion("path_code >", value, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeGreaterThanOrEqualTo(String value) {
            addCriterion("path_code >=", value, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeLessThan(String value) {
            addCriterion("path_code <", value, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeLessThanOrEqualTo(String value) {
            addCriterion("path_code <=", value, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeLike(String value) {
            addCriterion("path_code like", value, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeNotLike(String value) {
            addCriterion("path_code not like", value, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeIn(List<String> values) {
            addCriterion("path_code in", values, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeNotIn(List<String> values) {
            addCriterion("path_code not in", values, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeBetween(String value1, String value2) {
            addCriterion("path_code between", value1, value2, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathCodeNotBetween(String value1, String value2) {
            addCriterion("path_code not between", value1, value2, "pathCode");
            return (Criteria) this;
        }

        public Criteria andPathNumberIsNull() {
            addCriterion("path_number is null");
            return (Criteria) this;
        }

        public Criteria andPathNumberIsNotNull() {
            addCriterion("path_number is not null");
            return (Criteria) this;
        }

        public Criteria andPathNumberEqualTo(Integer value) {
            addCriterion("path_number =", value, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andPathNumberNotEqualTo(Integer value) {
            addCriterion("path_number <>", value, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andPathNumberGreaterThan(Integer value) {
            addCriterion("path_number >", value, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andPathNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("path_number >=", value, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andPathNumberLessThan(Integer value) {
            addCriterion("path_number <", value, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andPathNumberLessThanOrEqualTo(Integer value) {
            addCriterion("path_number <=", value, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andPathNumberIn(List<Integer> values) {
            addCriterion("path_number in", values, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andPathNumberNotIn(List<Integer> values) {
            addCriterion("path_number not in", values, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andPathNumberBetween(Integer value1, Integer value2) {
            addCriterion("path_number between", value1, value2, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andPathNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("path_number not between", value1, value2, "pathNumber");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andFaultstatusIsNull() {
            addCriterion("faultStatus is null");
            return (Criteria) this;
        }

        public Criteria andFaultstatusIsNotNull() {
            addCriterion("faultStatus is not null");
            return (Criteria) this;
        }

        public Criteria andFaultstatusEqualTo(Integer value) {
            addCriterion("faultStatus =", value, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andFaultstatusNotEqualTo(Integer value) {
            addCriterion("faultStatus <>", value, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andFaultstatusGreaterThan(Integer value) {
            addCriterion("faultStatus >", value, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andFaultstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("faultStatus >=", value, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andFaultstatusLessThan(Integer value) {
            addCriterion("faultStatus <", value, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andFaultstatusLessThanOrEqualTo(Integer value) {
            addCriterion("faultStatus <=", value, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andFaultstatusIn(List<Integer> values) {
            addCriterion("faultStatus in", values, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andFaultstatusNotIn(List<Integer> values) {
            addCriterion("faultStatus not in", values, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andFaultstatusBetween(Integer value1, Integer value2) {
            addCriterion("faultStatus between", value1, value2, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andFaultstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("faultStatus not between", value1, value2, "faultstatus");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdIsNull() {
            addCriterion("return_machine_id is null");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdIsNotNull() {
            addCriterion("return_machine_id is not null");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdEqualTo(String value) {
            addCriterion("return_machine_id =", value, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdNotEqualTo(String value) {
            addCriterion("return_machine_id <>", value, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdGreaterThan(String value) {
            addCriterion("return_machine_id >", value, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdGreaterThanOrEqualTo(String value) {
            addCriterion("return_machine_id >=", value, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdLessThan(String value) {
            addCriterion("return_machine_id <", value, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdLessThanOrEqualTo(String value) {
            addCriterion("return_machine_id <=", value, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdLike(String value) {
            addCriterion("return_machine_id like", value, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdNotLike(String value) {
            addCriterion("return_machine_id not like", value, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdIn(List<String> values) {
            addCriterion("return_machine_id in", values, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdNotIn(List<String> values) {
            addCriterion("return_machine_id not in", values, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdBetween(String value1, String value2) {
            addCriterion("return_machine_id between", value1, value2, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnMachineIdNotBetween(String value1, String value2) {
            addCriterion("return_machine_id not between", value1, value2, "returnMachineId");
            return (Criteria) this;
        }

        public Criteria andReturnAdressIsNull() {
            addCriterion("return_adress is null");
            return (Criteria) this;
        }

        public Criteria andReturnAdressIsNotNull() {
            addCriterion("return_adress is not null");
            return (Criteria) this;
        }

        public Criteria andReturnAdressEqualTo(String value) {
            addCriterion("return_adress =", value, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressNotEqualTo(String value) {
            addCriterion("return_adress <>", value, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressGreaterThan(String value) {
            addCriterion("return_adress >", value, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressGreaterThanOrEqualTo(String value) {
            addCriterion("return_adress >=", value, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressLessThan(String value) {
            addCriterion("return_adress <", value, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressLessThanOrEqualTo(String value) {
            addCriterion("return_adress <=", value, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressLike(String value) {
            addCriterion("return_adress like", value, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressNotLike(String value) {
            addCriterion("return_adress not like", value, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressIn(List<String> values) {
            addCriterion("return_adress in", values, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressNotIn(List<String> values) {
            addCriterion("return_adress not in", values, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressBetween(String value1, String value2) {
            addCriterion("return_adress between", value1, value2, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnAdressNotBetween(String value1, String value2) {
            addCriterion("return_adress not between", value1, value2, "returnAdress");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeIsNull() {
            addCriterion("return_path_code is null");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeIsNotNull() {
            addCriterion("return_path_code is not null");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeEqualTo(String value) {
            addCriterion("return_path_code =", value, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeNotEqualTo(String value) {
            addCriterion("return_path_code <>", value, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeGreaterThan(String value) {
            addCriterion("return_path_code >", value, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeGreaterThanOrEqualTo(String value) {
            addCriterion("return_path_code >=", value, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeLessThan(String value) {
            addCriterion("return_path_code <", value, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeLessThanOrEqualTo(String value) {
            addCriterion("return_path_code <=", value, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeLike(String value) {
            addCriterion("return_path_code like", value, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeNotLike(String value) {
            addCriterion("return_path_code not like", value, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeIn(List<String> values) {
            addCriterion("return_path_code in", values, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeNotIn(List<String> values) {
            addCriterion("return_path_code not in", values, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeBetween(String value1, String value2) {
            addCriterion("return_path_code between", value1, value2, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathCodeNotBetween(String value1, String value2) {
            addCriterion("return_path_code not between", value1, value2, "returnPathCode");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberIsNull() {
            addCriterion("return_path_number is null");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberIsNotNull() {
            addCriterion("return_path_number is not null");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberEqualTo(Integer value) {
            addCriterion("return_path_number =", value, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberNotEqualTo(Integer value) {
            addCriterion("return_path_number <>", value, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberGreaterThan(Integer value) {
            addCriterion("return_path_number >", value, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("return_path_number >=", value, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberLessThan(Integer value) {
            addCriterion("return_path_number <", value, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberLessThanOrEqualTo(Integer value) {
            addCriterion("return_path_number <=", value, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberIn(List<Integer> values) {
            addCriterion("return_path_number in", values, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberNotIn(List<Integer> values) {
            addCriterion("return_path_number not in", values, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberBetween(Integer value1, Integer value2) {
            addCriterion("return_path_number between", value1, value2, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnPathNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("return_path_number not between", value1, value2, "returnPathNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberIsNull() {
            addCriterion("return_chip_number is null");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberIsNotNull() {
            addCriterion("return_chip_number is not null");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberEqualTo(String value) {
            addCriterion("return_chip_number =", value, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberNotEqualTo(String value) {
            addCriterion("return_chip_number <>", value, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberGreaterThan(String value) {
            addCriterion("return_chip_number >", value, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberGreaterThanOrEqualTo(String value) {
            addCriterion("return_chip_number >=", value, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberLessThan(String value) {
            addCriterion("return_chip_number <", value, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberLessThanOrEqualTo(String value) {
            addCriterion("return_chip_number <=", value, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberLike(String value) {
            addCriterion("return_chip_number like", value, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberNotLike(String value) {
            addCriterion("return_chip_number not like", value, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberIn(List<String> values) {
            addCriterion("return_chip_number in", values, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberNotIn(List<String> values) {
            addCriterion("return_chip_number not in", values, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberBetween(String value1, String value2) {
            addCriterion("return_chip_number between", value1, value2, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andReturnChipNumberNotBetween(String value1, String value2) {
            addCriterion("return_chip_number not between", value1, value2, "returnChipNumber");
            return (Criteria) this;
        }

        public Criteria andLostStatusIsNull() {
            addCriterion("lost_status is null");
            return (Criteria) this;
        }

        public Criteria andLostStatusIsNotNull() {
            addCriterion("lost_status is not null");
            return (Criteria) this;
        }

        public Criteria andLostStatusEqualTo(Integer value) {
            addCriterion("lost_status =", value, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andLostStatusNotEqualTo(Integer value) {
            addCriterion("lost_status <>", value, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andLostStatusGreaterThan(Integer value) {
            addCriterion("lost_status >", value, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andLostStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("lost_status >=", value, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andLostStatusLessThan(Integer value) {
            addCriterion("lost_status <", value, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andLostStatusLessThanOrEqualTo(Integer value) {
            addCriterion("lost_status <=", value, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andLostStatusIn(List<Integer> values) {
            addCriterion("lost_status in", values, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andLostStatusNotIn(List<Integer> values) {
            addCriterion("lost_status not in", values, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andLostStatusBetween(Integer value1, Integer value2) {
            addCriterion("lost_status between", value1, value2, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andLostStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("lost_status not between", value1, value2, "lostStatus");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdIsNull() {
            addCriterion("rent_rule_id is null");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdIsNotNull() {
            addCriterion("rent_rule_id is not null");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdEqualTo(Integer value) {
            addCriterion("rent_rule_id =", value, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdNotEqualTo(Integer value) {
            addCriterion("rent_rule_id <>", value, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdGreaterThan(Integer value) {
            addCriterion("rent_rule_id >", value, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("rent_rule_id >=", value, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdLessThan(Integer value) {
            addCriterion("rent_rule_id <", value, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdLessThanOrEqualTo(Integer value) {
            addCriterion("rent_rule_id <=", value, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdIn(List<Integer> values) {
            addCriterion("rent_rule_id in", values, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdNotIn(List<Integer> values) {
            addCriterion("rent_rule_id not in", values, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdBetween(Integer value1, Integer value2) {
            addCriterion("rent_rule_id between", value1, value2, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentRuleIdNotBetween(Integer value1, Integer value2) {
            addCriterion("rent_rule_id not between", value1, value2, "rentRuleId");
            return (Criteria) this;
        }

        public Criteria andRentamountIsNull() {
            addCriterion("RentAmount is null");
            return (Criteria) this;
        }

        public Criteria andRentamountIsNotNull() {
            addCriterion("RentAmount is not null");
            return (Criteria) this;
        }

        public Criteria andRentamountEqualTo(BigDecimal value) {
            addCriterion("RentAmount =", value, "rentamount");
            return (Criteria) this;
        }

        public Criteria andRentamountNotEqualTo(BigDecimal value) {
            addCriterion("RentAmount <>", value, "rentamount");
            return (Criteria) this;
        }

        public Criteria andRentamountGreaterThan(BigDecimal value) {
            addCriterion("RentAmount >", value, "rentamount");
            return (Criteria) this;
        }

        public Criteria andRentamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("RentAmount >=", value, "rentamount");
            return (Criteria) this;
        }

        public Criteria andRentamountLessThan(BigDecimal value) {
            addCriterion("RentAmount <", value, "rentamount");
            return (Criteria) this;
        }

        public Criteria andRentamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("RentAmount <=", value, "rentamount");
            return (Criteria) this;
        }

        public Criteria andRentamountIn(List<BigDecimal> values) {
            addCriterion("RentAmount in", values, "rentamount");
            return (Criteria) this;
        }

        public Criteria andRentamountNotIn(List<BigDecimal> values) {
            addCriterion("RentAmount not in", values, "rentamount");
            return (Criteria) this;
        }

        public Criteria andRentamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("RentAmount between", value1, value2, "rentamount");
            return (Criteria) this;
        }

        public Criteria andRentamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("RentAmount not between", value1, value2, "rentamount");
            return (Criteria) this;
        }

        public Criteria andPayamountIsNull() {
            addCriterion("PayAmount is null");
            return (Criteria) this;
        }

        public Criteria andPayamountIsNotNull() {
            addCriterion("PayAmount is not null");
            return (Criteria) this;
        }

        public Criteria andPayamountEqualTo(BigDecimal value) {
            addCriterion("PayAmount =", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountNotEqualTo(BigDecimal value) {
            addCriterion("PayAmount <>", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountGreaterThan(BigDecimal value) {
            addCriterion("PayAmount >", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PayAmount >=", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountLessThan(BigDecimal value) {
            addCriterion("PayAmount <", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PayAmount <=", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountIn(List<BigDecimal> values) {
            addCriterion("PayAmount in", values, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountNotIn(List<BigDecimal> values) {
            addCriterion("PayAmount not in", values, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PayAmount between", value1, value2, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PayAmount not between", value1, value2, "payamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountIsNull() {
            addCriterion("DiscountedAmount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountIsNotNull() {
            addCriterion("DiscountedAmount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountEqualTo(BigDecimal value) {
            addCriterion("DiscountedAmount =", value, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountNotEqualTo(BigDecimal value) {
            addCriterion("DiscountedAmount <>", value, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountGreaterThan(BigDecimal value) {
            addCriterion("DiscountedAmount >", value, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DiscountedAmount >=", value, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountLessThan(BigDecimal value) {
            addCriterion("DiscountedAmount <", value, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DiscountedAmount <=", value, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountIn(List<BigDecimal> values) {
            addCriterion("DiscountedAmount in", values, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountNotIn(List<BigDecimal> values) {
            addCriterion("DiscountedAmount not in", values, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DiscountedAmount between", value1, value2, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andDiscountedamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DiscountedAmount not between", value1, value2, "discountedamount");
            return (Criteria) this;
        }

        public Criteria andPaymethodIsNull() {
            addCriterion("PayMethod is null");
            return (Criteria) this;
        }

        public Criteria andPaymethodIsNotNull() {
            addCriterion("PayMethod is not null");
            return (Criteria) this;
        }

        public Criteria andPaymethodEqualTo(Integer value) {
            addCriterion("PayMethod =", value, "paymethod");
            return (Criteria) this;
        }

        public Criteria andPaymethodNotEqualTo(Integer value) {
            addCriterion("PayMethod <>", value, "paymethod");
            return (Criteria) this;
        }

        public Criteria andPaymethodGreaterThan(Integer value) {
            addCriterion("PayMethod >", value, "paymethod");
            return (Criteria) this;
        }

        public Criteria andPaymethodGreaterThanOrEqualTo(Integer value) {
            addCriterion("PayMethod >=", value, "paymethod");
            return (Criteria) this;
        }

        public Criteria andPaymethodLessThan(Integer value) {
            addCriterion("PayMethod <", value, "paymethod");
            return (Criteria) this;
        }

        public Criteria andPaymethodLessThanOrEqualTo(Integer value) {
            addCriterion("PayMethod <=", value, "paymethod");
            return (Criteria) this;
        }

        public Criteria andPaymethodIn(List<Integer> values) {
            addCriterion("PayMethod in", values, "paymethod");
            return (Criteria) this;
        }

        public Criteria andPaymethodNotIn(List<Integer> values) {
            addCriterion("PayMethod not in", values, "paymethod");
            return (Criteria) this;
        }

        public Criteria andPaymethodBetween(Integer value1, Integer value2) {
            addCriterion("PayMethod between", value1, value2, "paymethod");
            return (Criteria) this;
        }

        public Criteria andPaymethodNotBetween(Integer value1, Integer value2) {
            addCriterion("PayMethod not between", value1, value2, "paymethod");
            return (Criteria) this;
        }

        public Criteria andBegintimeIsNull() {
            addCriterion("begintime is null");
            return (Criteria) this;
        }

        public Criteria andBegintimeIsNotNull() {
            addCriterion("begintime is not null");
            return (Criteria) this;
        }

        public Criteria andBegintimeEqualTo(Date value) {
            addCriterion("begintime =", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeNotEqualTo(Date value) {
            addCriterion("begintime <>", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeGreaterThan(Date value) {
            addCriterion("begintime >", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeGreaterThanOrEqualTo(Date value) {
            addCriterion("begintime >=", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeLessThan(Date value) {
            addCriterion("begintime <", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeLessThanOrEqualTo(Date value) {
            addCriterion("begintime <=", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeIn(List<Date> values) {
            addCriterion("begintime in", values, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeNotIn(List<Date> values) {
            addCriterion("begintime not in", values, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeBetween(Date value1, Date value2) {
            addCriterion("begintime between", value1, value2, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeNotBetween(Date value1, Date value2) {
            addCriterion("begintime not between", value1, value2, "begintime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("endtime is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("endtime is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterion("endtime =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterion("endtime <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterion("endtime >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("endtime >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterion("endtime <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("endtime <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterion("endtime in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterion("endtime not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterion("endtime between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("endtime not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeIsNull() {
            addCriterion("autoendtime is null");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeIsNotNull() {
            addCriterion("autoendtime is not null");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeEqualTo(Date value) {
            addCriterion("autoendtime =", value, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeNotEqualTo(Date value) {
            addCriterion("autoendtime <>", value, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeGreaterThan(Date value) {
            addCriterion("autoendtime >", value, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("autoendtime >=", value, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeLessThan(Date value) {
            addCriterion("autoendtime <", value, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeLessThanOrEqualTo(Date value) {
            addCriterion("autoendtime <=", value, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeIn(List<Date> values) {
            addCriterion("autoendtime in", values, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeNotIn(List<Date> values) {
            addCriterion("autoendtime not in", values, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeBetween(Date value1, Date value2) {
            addCriterion("autoendtime between", value1, value2, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andAutoendtimeNotBetween(Date value1, Date value2) {
            addCriterion("autoendtime not between", value1, value2, "autoendtime");
            return (Criteria) this;
        }

        public Criteria andLimitamountIsNull() {
            addCriterion("limitAmount is null");
            return (Criteria) this;
        }

        public Criteria andLimitamountIsNotNull() {
            addCriterion("limitAmount is not null");
            return (Criteria) this;
        }

        public Criteria andLimitamountEqualTo(BigDecimal value) {
            addCriterion("limitAmount =", value, "limitamount");
            return (Criteria) this;
        }

        public Criteria andLimitamountNotEqualTo(BigDecimal value) {
            addCriterion("limitAmount <>", value, "limitamount");
            return (Criteria) this;
        }

        public Criteria andLimitamountGreaterThan(BigDecimal value) {
            addCriterion("limitAmount >", value, "limitamount");
            return (Criteria) this;
        }

        public Criteria andLimitamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("limitAmount >=", value, "limitamount");
            return (Criteria) this;
        }

        public Criteria andLimitamountLessThan(BigDecimal value) {
            addCriterion("limitAmount <", value, "limitamount");
            return (Criteria) this;
        }

        public Criteria andLimitamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("limitAmount <=", value, "limitamount");
            return (Criteria) this;
        }

        public Criteria andLimitamountIn(List<BigDecimal> values) {
            addCriterion("limitAmount in", values, "limitamount");
            return (Criteria) this;
        }

        public Criteria andLimitamountNotIn(List<BigDecimal> values) {
            addCriterion("limitAmount not in", values, "limitamount");
            return (Criteria) this;
        }

        public Criteria andLimitamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("limitAmount between", value1, value2, "limitamount");
            return (Criteria) this;
        }

        public Criteria andLimitamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("limitAmount not between", value1, value2, "limitamount");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}